package com.shambles.manage2.tkmapper.entity;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "cost_detail")
public class CostDetail implements Serializable {
    /**
     * guid
     */
    @Column(name = "guid")
    private String guid;

    /**
     * 类型名称
     */
    @Column(name = "type")
    private String type;

    /**
     * 数量
     */
    @Column(name = "number")
    private Integer number;

    /**
     * 单价
     */
    @Column(name = "price")
    private Float price;

    /**
     * 金额
     */
    @Column(name = "money")
    private Float money;

    /**
     * 总费用guid
     */
    @Column(name = "total_guid")
    private String totalGuid;

    /**
     * 类型guid
     */
    @Column(name = "cattle_guid")
    private String cattleGuid;

    /**
     * 已检疫数量
     */
    @Column(name = "quarantine_number")
    private Integer quarantineNumber;

    private static final long serialVersionUID = 1L;

    /**
     * 获取guid
     *
     * @return guid - guid
     */
    public String getGuid() {
        return guid;
    }

    /**
     * 设置guid
     *
     * @param guid guid
     */
    public void setGuid(String guid) {
        this.guid = guid == null ? null : guid.trim();
    }

    /**
     * 获取类型名称
     *
     * @return type - 类型名称
     */
    public String getType() {
        return type;
    }

    /**
     * 设置类型名称
     *
     * @param type 类型名称
     */
    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    /**
     * 获取数量
     *
     * @return number - 数量
     */
    public Integer getNumber() {
        return number;
    }

    /**
     * 设置数量
     *
     * @param number 数量
     */
    public void setNumber(Integer number) {
        this.number = number;
    }

    /**
     * 获取单价
     *
     * @return price - 单价
     */
    public Float getPrice() {
        return price;
    }

    /**
     * 设置单价
     *
     * @param price 单价
     */
    public void setPrice(Float price) {
        this.price = price;
    }

    /**
     * 获取金额
     *
     * @return money - 金额
     */
    public Float getMoney() {
        return money;
    }

    /**
     * 设置金额
     *
     * @param money 金额
     */
    public void setMoney(Float money) {
        this.money = money;
    }

    /**
     * 获取总费用guid
     *
     * @return total_guid - 总费用guid
     */
    public String getTotalGuid() {
        return totalGuid;
    }

    /**
     * 设置总费用guid
     *
     * @param totalGuid 总费用guid
     */
    public void setTotalGuid(String totalGuid) {
        this.totalGuid = totalGuid == null ? null : totalGuid.trim();
    }

    /**
     * 获取类型guid
     *
     * @return cattle_guid - 类型guid
     */
    public String getCattleGuid() {
        return cattleGuid;
    }

    /**
     * 设置类型guid
     *
     * @param cattleGuid 类型guid
     */
    public void setCattleGuid(String cattleGuid) {
        this.cattleGuid = cattleGuid == null ? null : cattleGuid.trim();
    }

    /**
     * 获取已检疫数量
     *
     * @return quarantine_number - 已检疫数量
     */
    public Integer getQuarantineNumber() {
        return quarantineNumber;
    }

    /**
     * 设置已检疫数量
     *
     * @param quarantineNumber 已检疫数量
     */
    public void setQuarantineNumber(Integer quarantineNumber) {
        this.quarantineNumber = quarantineNumber;
    }
}